package com.gzx.plugin.tjzy.modular.sms.reply.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import com.gzx.plugin.tjzy.modular.sms.reply.entity.GzxSmsReply;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import vip.xiaonuo.common.sensitive.annotation.Sensitive;
import vip.xiaonuo.common.sensitive.core.SensitiveStrategy;

/**
 * @author zjt
 * @description
 * @date 2025/7/25 14:17
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GzxSmsReply.class)
public class GzxSmsReplyVo implements TransPojo {

    /**
     * 自增主键
     */
    private Long id;

    /**
     * 供应商编码
     */
    @Trans(type = TransType.DICTIONARY, key = "supplier", ref = "supplierName")
    private String supplierCode;

    /**
     * 供应商名称
     */
    @ExcelProperty("供应商")
    private String supplierName;

    /**
     * 批次号
     */
    @ExcelProperty("供应商")
    private String batchNumber;

    /**
     * 所属项目编码
     */
    @Trans(type = TransType.DICTIONARY, key = "project", ref = "projectName")
    private String projectCode;

    /**
     * 项目名称
     */
    @ExcelProperty("所属项目")
    private String projectName;

    /**
     * 短信ID
     */
    @ExcelProperty("短信ID")
    private String msgId;

    /**
     * 手机号码
     */
    @ExcelProperty("手机号码")
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String phone;

    /**
     * 回复时间
     */
    @ExcelProperty("回复时间")
    private String replyTime;

    /**
     * 回复内容
     */
    @ExcelProperty("回复内容")
    private String replyContent;

    /**
     * 发送时间
     */
    @ExcelProperty("发送时间")
    private String sendTime;

    /**
     * 发送内容
     */
    @ExcelProperty("发送内容")
    private String sendContent;

    /**
     * 创建时间
     */
    @ExcelProperty("回传时间")
    private String createTime;
}
